package org.javaboy.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

/**
 * @author Lyh
 * @date 2024/2/2 1:02
 * @desciption:
 */
public class JavaConfig {
    @Bean
    //@Scope("prototype")
    User user(){
        User user = new User();
        return user;
    }
}
